export default class Result {

    isDev
    title
    keywords
    description
    code
    data = null
    queryParam = null
    path
    jsList

    constructor(title = '炉石传说卡片浏览', keywords = "炉石传说,酒馆战旗,炉石卡牌,炉石卡背,卡牌预览,酒馆随从", description = "查询炉石卡牌，卡背，浏览酒馆战旗随从卡牌等其他卡牌信息。", code = 0, isDev = process.env.IS_DEV) {
        this.isDev = isDev;
        this.title = title;
        this.description = description;
        this.keywords = keywords;
        this.code = code;
    }

    setJsList(jsList){
        this.jsList = jsList;
    }

    setPath(path) {
        this.path = path;
    }

    setQueryParam(param) {
        this.queryParam = param
    }

    setCode(code) {
        this.code = code;
    }

    setData(data) {
        this.data = data;
    }

    setTitle(title) {
        this.title = title;
    }

    setKeywords(keywords) {
        this.keywords = keywords;
    }

    setIsDev(isDev) {
        this.isDev = isDev
    }


}